#pragma once
#include "WareTypes.h"
#include "WarePrepare.h"
#include "CVector2.h"
#include "ITexture.h"

BEGIN_WARE

class IImage
{
public:
	virtual ~IImage() {}

	virtual ITexture*		GetTexture() = 0;
	virtual void			GetU( CVector2& u ) = 0;
	virtual void			GetV( CVector2& v ) = 0;

	virtual VBOOL			SaveToFile( const VCHAR* szSaveFileName, ITexture::ETextureFileType eFileType = ITexture::TFP_PNG, EWareFormat eFormat = WARE_FMT_A8R8G8B8 ) = 0;
};

END_WARE